#include "DockWindowManager.h"

QT_BEGIN_MOC_NAMESPACE
static const uint qt_meta_data_Gui__DockWindowManager[] = {

	// content:
	2,       // revision
	0,       // classname
	0,    0, // classinfo
	2,   12, // methods
	0,    0, // properties
	0,    0, // enums/sets
	0,    0, // constructors

	// slots: signature, parameters, type, tag, flags
	24,   23,   23,   23, 0x08,
	56,   23,   23,   23, 0x08,

	0        // eod
};

static const char qt_meta_stringdata_Gui__DockWindowManager[] = {
	"DockWindowManager\0\0"
	"onDockWidgetDestroyed(QObject*)\0"
	"onWidgetDestroyed(QObject*)\0"
};

const QMetaObject DockWindowManager::staticMetaObject = {
	{ &QObject::staticMetaObject, qt_meta_stringdata_Gui__DockWindowManager,
	qt_meta_data_Gui__DockWindowManager, 0 }
};

const QMetaObject *DockWindowManager::metaObject() const
{
	return &staticMetaObject;
}

void *DockWindowManager::qt_metacast(const char *_clname)
{
	if (!_clname) return 0;
	if (!strcmp(_clname, qt_meta_stringdata_Gui__DockWindowManager))
		return static_cast<void*>(const_cast< DockWindowManager*>(this));
	return QObject::qt_metacast(_clname);
}

int DockWindowManager::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
	_id = QObject::qt_metacall(_c, _id, _a);
	if (_id < 0)
		return _id;
	if (_c == QMetaObject::InvokeMetaMethod) {
		switch (_id) {
		case 0: onDockWidgetDestroyed((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
		case 1: onWidgetDestroyed((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
		default: ;
		}
		_id -= 2;
	}
	return _id;
}
QT_END_MOC_NAMESPACE
